package studentdemo.dao;

import studentdemo.modul.Course;
import java.util.List;

public interface CourseDao {
    int insertCourse(Course course);
    int updateCourse(Course course);
    int deleteCourse(String cno);
    Course getCourseById(String cno);
    List<Course> getCoursesByName(String name);
    List<Course> getAllCourses(int page, int pageSize);
    int getCourseCount();
} 